package cn.stylefeng.guns.modular.hx.storage.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 转仓管理表
 * </p>
 * @author zhucx
 * @since 2024-02-27
 */
@Data
@TableName("hx_storage_transfer")
public class HxStorageTransfer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 转仓日期
     */
    @TableField("transfer_date")
    private String transferDate;

    /**
     * 转出仓库id
     */
    @TableField("out_warehouse_id")
    private Long outWarehouseId;

    /**
     * 转出仓库
     */
    @TableField("out_warehouse_name")
    private String outWarehouseName;

    /**
     * 转入仓库id
     */
    @TableField("put_warehouse_id")
    private Long putWarehouseId;

    /**
     * 转入仓库
     */
    @TableField("put_warehouse_name")
    private String putWarehouseName;

    /**
     * 商品id
     */
    @TableField("goods_id")
    private Long goodsId;

    /**
     * 商品名称
     */
    @TableField("goods_name")
    private String goodsName;

    /**
     * 商品编号
     */
    @TableField("goods_number")
    private String goodsNumber;

    /**
     * 商品码
     */
    @TableField("goods_pcode69")
    private String goodsPcode69;

    /**
     * 规格
     */
    @TableField("goods_specs")
    private String goodsSpecs;

    /**
     * 单位
     */
    @TableField("kc_unit")
    private String kcUnit;

    /**
     * 转出库位id
     */
    @TableField("out_position_id")
    private Long outPositionId;

    /**
     * 转出库位
     */
    @TableField("out_position_number")
    private String outPositionNumber;

    /**
     * 数量
     */
    @TableField("num")
    private String num;

    /**
     * 转入库位id
     */
    @TableField("put_position_id")
    private Long putPositionId;

    /**
     * 转入库位
     */
    @TableField("put_position_number")
    private String putPositionNumber;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 备注
     */
    @TableField("note")
    private String note;

    /**
     * 创建时间
     */
    @TableField("create_times")
    private String createTimes;

    /**
     * 创建人员
     */
    @TableField("create_name")
    private String createName;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;
    /**
     * 回传新零帮状态
     */
    @TableField("return_status")
    private String returnStatus;
    /**
     * 基本数量
     */
    @TableField("jiben_num")
    private String jibenNum;
    /**
     * 基本单位
     */
    @TableField("jinen_unit")
    private String jibenUnit;

    @Override
    public String toString() {
        return "HxStorageTransfer{" +
        "id=" + id +
        ", transferDate=" + transferDate +
        ", outWarehouseId=" + outWarehouseId +
        ", outWarehouseName=" + outWarehouseName +
        ", putWarehouseId=" + putWarehouseId +
        ", putWarehouseName=" + putWarehouseName +
        ", goodsId=" + goodsId +
        ", goodsName=" + goodsName +
        ", goodsNumber=" + goodsNumber +
        ", goodsPcode69=" + goodsPcode69 +
        ", goodsSpecs=" + goodsSpecs +
        ", kcUnit=" + kcUnit +
        ", outPositionId=" + outPositionId +
        ", outPositionNumber=" + outPositionNumber +
        ", num=" + num +
        ", putPositionId=" + putPositionId +
        ", putPositionNumber=" + putPositionNumber +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        ", note=" + note +
        ", createTimes=" + createTimes +
        ", createName=" + createName +
        ", v1=" + v1 +
        ", v2=" + v2 +
                ", returnStatus=" + returnStatus +
                ", jibenNum=" + jibenNum +
                ", jibenUnit=" + jibenUnit +
        "}";
    }
}
